package com.arpa.wms.mapper;

import com.arpa.wms.domain.dto.PackingMaterialGoodsDTO;
import com.arpa.wms.domain.entity.PackingMaterialGoods;
import com.arpa.wms.domain.vo.PackingMaterialGoodsVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 包材关系 Mapper 接口
 * </p>
 *
 * @author rfwang
 * @since 2021-08-26
 */
public interface PackingMaterialGoodsMapper extends BaseMapper<PackingMaterialGoods> {

    /**
     * 查询列表
     * @param packingMaterialGoods
     * @return
     */
    List<PackingMaterialGoodsVO> queryList(PackingMaterialGoodsDTO packingMaterialGoods);

    /**
     * 查询合计,包含总数
     * @param packingMaterialGoods
     * @return
     */
    PackingMaterialGoodsVO queryListSum(PackingMaterialGoodsDTO packingMaterialGoods);

}
